// 中间主体内容
main{
    background: #f5f5f5;
    padding-bottom: 20px;
    // 面包屑导航栏样式
    .breadcrumb{
        background-color: #fff;
        padding-left: 17%;
        border-top: 1px solid #dbdbdb;
        border-bottom: 1px solid #dbdbdb;
        .breadcrumb-item{
            font-size: 12px;
            >a{  
                color: #666;
                &:hover{
                    text-decoration: none;
                }
            }
        }
        .activity{
            >a{  
                color: #333;
                &:hover{
                    text-decoration: none;
                }
            }
        }
    }
    //主要内容样式
    .wrapper{
        width: 900px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        .aside{
            width: 160px;
            height: 400px;
            text-align: center;
            background: #fff;
            padding: 9px 0;
            border: 1px solid #d3d3d3;
            box-sizing: border-box;
            .icon-title{
                .icon{
                    width: 60px;
                    height: 60px;
                    margin: 10px auto;
                    border-radius: 50%;
                    overflow: hidden;
                    background: url(../images/pc_icon_user.jpg);
                    background-size: 100%;
                }
                >p{
                    font-size: 14px;
                    color: #23527c;
                    font-size: 10px;
                    padding-bottom: 10px;
                    margin-bottom: 5px;
                    border-bottom: 1px solid #c30000;
                }
            }
            .nav{
                .nav-link{
                    padding: 5px 16px;
                }
                .active{
                    color: #db0000;
                    background: #fff;
                }
                >a{
                    font-size: 10px;
                    color: #626262;
                    &:hover{
                        text-decoration: none;
                    }
                }
                .weight{
                    font-size: 12px;
                    font-weight: 700;
                    padding: 5px 16px;
                    color: #000;
                }
            }
        }
        .article{
            width: 700px;
            background: #fff;
            padding: 20px;

            // 我的订单
            .more{
                font-size: 10px;
                color: #5c5c5c;
                margin: 0 10px;
            }
            .nav-myorder{
                display: flex;
                justify-content: space-between;
                .myorder-search{
                    ::-webkit-input-placeholder{
                        font-size: 12px;
                    }
                    >input{
                        border: 1px solid #d3d3d3;
                        border-right: none;
                        margin-right: -5px;
                        outline: none;
                        padding: 0 5px;
                    }
                    >button{
                        background: #fff;
                        border: 1px solid #d3d3d3;
                    }
                }
                .active{
                    margin: 0;
                }
            }
            .goods{
                position: relative;
                width: 100%;
                height: 160px;
                padding: 10px;
                margin-bottom: 10px;
                border: 1px solid #d3d3d3;
                .state-activation{
                    font-size: 14px;
                    margin-bottom: 5px;
                    color: #808080;
                }
                .state-noactive{
                    font-size: 14px;
                    margin-bottom: 5px;
                    color: #d30000;
                }
                .goods-des{
                    display: flex;
                    .des-left{
                        flex: 1;
                        font-size: 10px;
                        color: #808080;
                    }
                    .des-right{
                        font-size: 10px;
                        color: #808080;
                        >span{
                            font-size: 12px;
                            color: #db0000;
                        }
                    }
                }
                .goods-hr{
                    position: absolute;
                    top: 50%;
                    left: 0;
                    width: 100%;
                    height: 1px;
                    background: #d3d3d3;
                }
                .goods-info{
                    margin-top: 20px;
                    display: flex;
                    .goods-icon{
                        width: 60px;
                        height: 60px;
                        >img{
                            width: 100%;
                            height: 100%;
                        }
                    }
                    .goods-name{
                        flex-grow: 3;
                        >p{
                            margin-left: 10px;
                            color: #000;
                            margin-bottom: 8px;
                        }
                        .name{
                            font-size: 12px;
                        }
                        .price{
                            font-size: 10px;
                        }
                    }
                    
                    .goods-btn{
                        display: flex;
                        flex-direction: column;
                        justify-content: space-around;
                        >button{
                            width: 80px;
                            height: 25px;
                            color: #000;
                            font-size: 12px;
                            border: 1px solid #d3d3d3;
                        }
                        .btn-rw{
                            background: #d30000;
                            color: #fff;
                        }
                    }
                }
            }
            .page{
                width: 100px;
                margin: 0 auto;
                display: flex;
                justify-content: space-around;
                align-items: center;
                .number{
                    text-align: center;
                    width: 40px;
                    height: 25px;
                    margin: 0 5px;
                    background: #757575;
                }
                >span{
                    font-size: 20px;
                }
            }

            // 评论晒单
            .article-title{
                color: #000;
                margin-bottom: 0;
            }
            .nav-tabs{
                border-bottom: none;
                .nav-link{
                    padding: 8px 10px;
                }
                a{
                    border-bottom: none;
                    color: #808080;
                    font-size: 12px;
                    &:hover{
                        border: 1px solid transparent;
                        color: none;
                    }
                }
                .active{
                    
                    color: #db0000;
                    border: 1px solid transparent;
                }
                .division{
                    width: 1px;
                    height: 15px;
                    margin-top: 10px;
                    background: #979797;
                }
            }
            // 待评论商品
            .card-deck{
                width: 600px;
                justify-content: space-between;
                align-items: center;
                border-bottom: 1px solid #d3d3d3;
                .card{
                    padding-bottom: 10px;
                    border: none;
                    width: 100px;
                    text-align: center;
                    >img{
                        width: 100%;
                    }
                    .card-body{
                        margin: 0;
                        padding: 0;
                        >h6{
                            margin-top: 5px;
                            font-size: 12px;
                            color: #ce0000;
                        }
                        >p{
                            margin: 5px 0;
                            font-size: 10px;
                            color: #808080;
                        }
                        .btn{
                            font-size: 12px;
                        }
                        .btn-waitcommented{
                            color: #fff;
                            border-radius: 0;
                            background: #ce0000;
                        }
                        .btn-commented{
                            color: #000;
                            background: #f4f4f4;
                        }
                    }
                }
            }
            
            
            
            // 我的中心
            .title-content{
                position: relative;
                overflow: hidden;
                border-bottom: 1px solid #d3d3d3;
                .title-icon{
                    width: 50px;
                    height: 50px;
                    border-radius: 50%;
                    overflow: hidden;
                    background: url(../images/pc_icon_user.jpg);
                    background-size: 100%;
                    margin: 10px 0;
                    border: 3px double #d3d3d3;
                    float: left;
                }
                >span{
                    display: inline-block;
                    margin: 10px;
                }
                .text-email{
                    font-size: 12px;
                    position: absolute;
                    top: 10px;
                    right: 0;
                }
            }
            .des-content{
                .des-flex{
                    display: flex;
                    margin-top: 30px;
                    justify-content: space-around;
                    .des-icon{
                        position: relative;
                        margin: auto;
                        >p{
                            margin: 3px 0;
                            padding: 0;
                        }
                    }
                    .wait{
                        font-size: 12px;
                        color: #d12222;
                    }
                    .see{
                        font-size: 10px;
                        color: #686868;
                    }
                    img{
                        width: 80px;
                    }
                }
                
            }
            
            // 收货地址
            .address{
                width: 98%;
                height: 300px;
                margin-top: 10px;
                border-top: 1px solid #d3d3d3;
                display: flex;
                justify-content: space-around;
                align-items: center;
                >div{
                    width: 200px;
                    height: 200px;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    text-align: left;
                    border: 1px solid #d3d3d3;
                    .wrap{
                        margin: 0 auto;
                        >a{
                            text-align: center;
                            display: block;
                        }
                        >h6{
                            font-size: 14px;
                            text-align: left;
                        }
                        >p{
                            font-size: 12px;
                            padding: 0;
                            margin: 0;
                        }
                    }
                }
            }
            // 地址模态框
            .modal-content{
                width: 300px;
                padding: 20px;
                >input{
                    outline: none;
                    padding: 5px;
                    height: 30px;
                    margin: 5px 0;
                    &::-webkit-input-placeholder{
                        font-size: 12px;
                        color: #337ac3;
                    }
                    &::-moz-input-placeholder{
                        font-size: 12px;
                        color: #337ac3;
                    }
                }
                .address-select{
                    display: flex;
                    .form-control{
                        width: 40%;
                        height: 30px;
                        margin: 5px 10px 5px 0;
                        padding: 5px;
                        font-size: 12px;
                        color: #337ac3;
                        font-weight: 600;
                    }
                }
                .address-modalhr{
                    width: 100%;
                }
                .btns{
                    display: flex;
                    justify-content: space-around;
                    .addressbtn{
                        width: 100px;
                        height: 40px;
                        border-radius: 3px;
                        border: none;
                        font-size: 12px;
                    }
                    .address-modalsave{
                        color: #fff;
                        background: #da0000;
                    }
                    .address-modalcancel{
                        color: #000;
                        border: 1px solid #d3d3d3;
                    }
                }
            }

            // 个人信息
            .info{
                display: flex;
                padding: 10px 0;
                border-top: 1px solid #d3d3d3;
                .info-icon{
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    flex-grow: 1;
                    >i{
                        display: block;
                        width: 100px;
                        height: 100px;
                        border-radius: 50%;
                        overflow: hidden;
                        border: 5px double #dedede;
                        >img{
                            width: 100%;
                        }
                    }
                }
                .info-des{
                    flex-grow: 2;
                    >div{
                        display: flex;
                        font-size: 14px;
                        padding: 5px 0;
                        margin-bottom: 5px;
                        color: #808080;
                        border-bottom: 1px solid #d3d3d3;
                        justify-content: space-between;
                        align-items: center;
                        .info-title{
                            padding: 0;
                            margin: 0;
                            color: #000;
                            font-size: 14px;
                            font-weight: 600;
                        }
                        .reviseinfo{
                            padding: 0;
                            margin: 0;
                            font-size: 10px;
                            color: #ce001f;
                        }
                    }
                }
            }

            // 修改密码
            .revisepwd{
                width: 100%;
                border-top: 1px solid #d3d3d3;
                >table{
                    >tr{
                        margin: 5px 0;
                        td{
                            margin: 50px 0;
                        }
                    }
                }
                .label{
                    text-align: right;
                    line-height: 30px;
                    width: 150px;
                    height: 30px;
                    font-size: 14px;
                    font-weight: 600;
                }
                span{
                    margin: 0 5px;
                    font-size: 14px;
                }
                input{
                    border: 1px solid #d3d3d3;
                    height: 30px;
                    padding: 5px;
                    outline: none;
                }
                ::-webkit-input-placeholder{
                    font-size: 12px;
                }
                ::-moz-input-placeholder{
                    font-size: 12px;
                }
                .notes{
                    color: #808080;
                    font-size: 10px;
                }
                [type=checkbox]{
                    vertical-align: middle;
                }
                .submit{
                    border: none;
                    font-size: 12px;
                    color: #fff;
                    width: 80px;
                    height: 30px;
                    margin: 10px 0;
                    background: #d60000;
                }
            }
        }
    }
}